<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model as BaseModel;

class Model extends BaseModel
{

    //carbon转字符串的时间格式
    protected $casts = [
        'created_at'   => 'date:Y-m-d H:i:s',
    ];

}
